import javax.imageio.stream.ImageInputStream;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-02-20
 * Time: 9:48
 */
public class Test {
    public static void main(String[] args) {
        BinarySearchTree binarySearchTree=new BinarySearchTree();
        binarySearchTree.insert(10);
        binarySearchTree.insert(20);
        binarySearchTree.insert(0);
      /*  BinarySearchTree.TreeNode node =binarySearchTree.search(10);
        System.out.println(node.key);*/
        binarySearchTree.remove(10);
      /*  BinarySearchTree.TreeNode node2=binarySearchTree.search(0);
        System.out.println(node2.key);*/
        System.out.println("=================");
    }
}
